package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Recruitplan;
import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.qo.QueryObject;
import cn.wolfcode.crm.qo.RecruitPlanQueryObject;

import java.util.List;

public interface RecruitplanMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Recruitplan record);

    Recruitplan selectByPrimaryKey(Long id);

    List<Recruitplan> selectAll();

    int updateByPrimaryKey(Recruitplan record);

    int rows(RecruitPlanQueryObject qo);

    List<Role> queryForList(RecruitPlanQueryObject qo);

    void changeState(Recruitplan recruitplan);
}